﻿using RBAC.LuFang.Domain;
using RBAC.LuFang.Repository.lnterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.LuFang.Repository.lmpl
{
    public class UserRepository : BaseRepository<UserInfo>, IUserRepository
    {
        public UserRepository(EFCoreContext corecontext) : base(corecontext)
        {
        }

        public async Task<List<UserInfo>> Get(Expression<Func<UserInfo, bool>> expre)
        {
            return await base.Get(expre);
        }

        //添加
        public async Task<int> GetAddAsync(UserInfo t)
        {
            return await base.GetAddAsync(t);
        }
        //显示
        public async Task<List<UserInfo>> GetAllAsync()
        {
            return await base.GetAllAsync();
        }
        //反填
        public async Task<UserInfo> GetByidAsync(int id)
        {
            return await base.GetByidAsync(id);
        }
        //修改
        public async Task<int> GetUpd(UserInfo t)
        {
            return await base.GetUpd(t);
        }











    }
}
